package cn.xqj.org.mapper;


import cn.xqj.basic.mapper.BaseMapper;

import cn.xqj.org.domain.Employee;
import cn.xqj.system.domain.Menu;
import org.apache.ibatis.annotations.Param;
;import java.util.List;

public interface EmployeeMapper extends BaseMapper<Employee> {

    Employee findByLogininfoId(Long id);

    void delEmployeeRole(Long id);

    void addEmployeeRole(@Param("id") Long id, @Param("role_id") Long role_id);

    void delEmployeeRoleByEid(Long id);

    List<String> findSnByLogininfoId(Long id);

    List<Menu> loadMenusByLogininfoId(Long id);

    List<Employee> list(Long shopId);
}
